﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KDSugar.Galaxy.API.Query
{
    /// <summary>
    /// 单据查询字段标识
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class QueryFieldTag : Attribute
    {
        /// <summary>
        /// 业务字段标识名称
        /// <para>查询单据体内码,需加单据体Key和下划线,如：FEntryKey_FEntryId</para>
        /// </summary>
        public string FieldTagName { get; set; }

        ///// <summary>
        ///// 单据查询字段标识
        ///// </summary>
        ///// <param name="_name">业务字段标识名称</param>
        //public QueryFieldTag(string _name)
        //{
        //    FieldTagName = _name;
        //}
    }
}
